package com.homework.ch07.interfaces;

public class Test4_2_Interfaca {
    public static void main(String[] args) {
        Fly bird = new Bird();
        bird.flyAction(); // 鸟会飞行

        Fly plane = new Plane();
        plane.flyAction(); // 飞机能飞行

    }
}
